﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="AddGuestOrder.ascx.cs" Inherits="Control_AddGuestOrder" %>
<div style="text-align: center">
    <asp:Label ID="LB_AddGuestOrder" runat="server" Font-Bold="True" Font-Size="Small"
        ForeColor="Red"></asp:Label>
    <table align="center" border="1" cellpadding="0" cellspacing="0" style="width: 95%">
        <tr>
            <td align="right" style="width: 20%">
                订购品名：</td>
            <td align="left" height="30" style="width: 80%">
                &nbsp;<asp:TextBox ID="TB_Title" runat="server" Width="230px"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RFV_TB_Title" runat="server" ControlToValidate="TB_Title"
                    Display="Dynamic" ErrorMessage="*" ValidationGroup="Btn_Submit"></asp:RequiredFieldValidator></td>
        </tr>
        <tr style="color: #000000">
            <td align="right" style="width: 20%">
                姓名：</td>
            <td align="left" height="30" style="width: 80%">
                &nbsp;<asp:TextBox ID="TB_Name" runat="server"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RFV_TB_Name" runat="server" ControlToValidate="TB_Name"
                    Display="Dynamic" ErrorMessage="*" ValidationGroup="Btn_Submit"></asp:RequiredFieldValidator></td>
        </tr>
        <tr style="color: #000000">
            <td align="right" style="width: 20%">
                电话：</td>
            <td align="left" height="30" style="width: 80%">
                &nbsp;<asp:TextBox ID="TB_Tel" runat="server"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RFV_TB_Tel" runat="server" ControlToValidate="TB_Tel"
                    Display="Dynamic" ErrorMessage="*" ValidationGroup="Btn_Submit"></asp:RequiredFieldValidator></td>
        </tr>
        <tr>
            <td align="right" style="width: 20%">
                邮箱：</td>
            <td align="left" height="30" style="width: 80%">
                &nbsp;<asp:TextBox ID="TB_Email" runat="server"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RFV_TB_Mail" runat="server" ControlToValidate="TB_Email"
                    Display="Dynamic" ErrorMessage="*" ValidationGroup="Btn_Submit"></asp:RequiredFieldValidator><asp:RegularExpressionValidator
                        ID="REV_TB_Email" runat="server" ControlToValidate="TB_Email" Display="Dynamic"
                        ErrorMessage="邮箱格式不正确" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"
                        ValidationGroup="Btn_Submit"></asp:RegularExpressionValidator></td>
        </tr>
        <tr>
            <td align="right" style="width: 20%">
                订购数量：</td>
            <td align="left" height="30" style="width: 80%">
                &nbsp;<asp:TextBox ID="TB_Number" runat="server"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RFV_TB_Number" runat="server" Display="Dynamic"
                    ErrorMessage="*" ControlToValidate="TB_Number" ValidationGroup="Btn_Submit"></asp:RequiredFieldValidator></td>
        </tr>
        <tr>
            <td align="right" style="width: 20%; height: 19px">
                订单备注：</td>
            <td align="left" height="30" style="width: 80%; height: 19px">
                &nbsp;<asp:TextBox ID="TB_Content" runat="server" MaxLength="200" Rows="6" TextMode="MultiLine"
                    Width="289px"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RFV_TB_Content" runat="server" ControlToValidate="TB_Content"
                    Display="Dynamic" ErrorMessage="*" ValidationGroup="Btn_Submit"></asp:RequiredFieldValidator></td>
        </tr>
        <tr>
            <td align="left" colspan="2" height="30" style="height: 19px; text-align: center">
                <asp:Button ID="Btn_Submit" runat="server" OnClick="Btn_Submit_Click"
                    Text="提交" ValidationGroup="Btn_Submit" />
                <input id="Reset1" type="reset" value="重置" /></td>
        </tr>
    </table>
</div>
